package org.codeblue.support.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by jl.hu on 2017/4/5.
 */
@Target({ElementType.METHOD, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface FieldDesc {
    String name() default "";
    String type() default "String";
    String desc() default "";
    boolean nullable() default false;
    int length() default  255 ;
}
